package com.idanchuang.support.etcache.exception;

/**
 *
 * 不合法的 RemoteKey 字节数据
 *
 * @author yjy
 * Created at 2021/12/22 7:47 下午
 */
public class InvalidRemoteKeyException extends RemoteCacheException {

    private final byte[] keyBytes;

    public InvalidRemoteKeyException(byte[] keyBytes) {
        this.keyBytes = keyBytes;
    }

    public byte[] getKeyBytes() {
        return keyBytes;
    }
}
